Optimal. Leaf size=127 \[ \frac {n x \left (c+d x^n\right )^{-1/n} (2 a d n+b c)}{c^3 d (n+1) (2 n+1)}+\frac {x \left (c+d x^n\right )^{-\frac {1}{n}-1} (2 a d n+b c)}{c^2 d (n+1) (2 n+1)}-\frac {x (b c-a d) \left (c+d x^n\right )^{-\frac {1}{n}-2}}{c d (2 n+1)} \]
[Out]
________________________________________________________________________________________
Rubi [A] time = 0.06, antiderivative size = 127, normalized size of antiderivative = 1.00, number of steps used = 3, number of rules used = 3, integrand size = 23, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.130, Rules used = {385, 192, 191} \[ \frac {x \left (c+d x^n\right )^{-\frac {1}{n}-1} (2 a d n+b c)}{c^2 d (n+1) (2 n+1)}+\frac {n x \left (c+d x^n\right )^{-1/n} (2 a d n+b c)}{c^3 d (n+1) (2 n+1)}-\frac {x (b c-a d) \left (c+d x^n\right )^{-\frac {1}{n}-2}}{c d (2 n+1)} \]
Antiderivative was successfully verified.
[In]
[Out]
Rule 191
Rule 192
Rule 385
Rubi steps
\begin {align*} \int \left (a+b x^n\right ) \left (c+d x^n\right )^{-3-\frac {1}{n}} \, dx &=-\frac {(b c-a d) x \left (c+d x^n\right )^{-2-\frac {1}{n}}}{c d (1+2 n)}+\frac {(b c+2 a d n) \int \left (c+d x^n\right )^{-2-\frac {1}{n}} \, dx}{c d (1+2 n)}\\ &=-\frac {(b c-a d) x \left (c+d x^n\right )^{-2-\frac {1}{n}}}{c d (1+2 n)}+\frac {(b c+2 a d n) x \left (c+d x^n\right )^{-1-\frac {1}{n}}}{c^2 d (1+n) (1+2 n)}+\frac {(n (b c+2 a d n)) \int \left (c+d x^n\right )^{-1-\frac {1}{n}} \, dx}{c^2 d (1+n) (1+2 n)}\\ &=-\frac {(b c-a d) x \left (c+d x^n\right )^{-2-\frac {1}{n}}}{c d (1+2 n)}+\frac {(b c+2 a d n) x \left (c+d x^n\right )^{-1-\frac {1}{n}}}{c^2 d (1+n) (1+2 n)}+\frac {n (b c+2 a d n) x \left (c+d x^n\right )^{-1/n}}{c^3 d (1+n) (1+2 n)}\\ \end {align*}
________________________________________________________________________________________
Mathematica [C] time = 0.17, size = 94, normalized size = 0.74 \[ \frac {x \left (c+d x^n\right )^{-1/n} \left (\frac {d x^n}{c}+1\right )^{\frac {1}{n}} \left ((a d-b c) \, _2F_1\left (3+\frac {1}{n},\frac {1}{n};1+\frac {1}{n};-\frac {d x^n}{c}\right )+b c \, _2F_1\left (2+\frac {1}{n},\frac {1}{n};1+\frac {1}{n};-\frac {d x^n}{c}\right )\right )}{c^3 d} \]
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
fricas [A] time = 1.35, size = 173, normalized size = 1.36 \[ \frac {{\left (2 \, a d^{3} n^{2} + b c d^{2} n\right )} x x^{3 \, n} + {\left (6 \, a c d^{2} n^{2} + b c^{2} d + {\left (3 \, b c^{2} d + 2 \, a c d^{2}\right )} n\right )} x x^{2 \, n} + {\left (6 \, a c^{2} d n^{2} + b c^{3} + a c^{2} d + {\left (2 \, b c^{3} + 5 \, a c^{2} d\right )} n\right )} x x^{n} + {\left (2 \, a c^{3} n^{2} + 3 \, a c^{3} n + a c^{3}\right )} x}{{\left (2 \, c^{3} n^{2} + 3 \, c^{3} n + c^{3}\right )} {\left (d x^{n} + c\right )}^{\frac {3 \, n + 1}{n}}} \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
giac [F(-2)] time = 0.00, size = 0, normalized size = 0.00 \[ \text {Exception raised: TypeError} \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
maple [F] time = 0.63, size = 0, normalized size = 0.00 \[ \int \left (b \,x^{n}+a \right ) \left (d \,x^{n}+c \right )^{-\frac {1}{n}-3}\, dx \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
maxima [F] time = 0.00, size = 0, normalized size = 0.00 \[ \int {\left (b x^{n} + a\right )} {\left (d x^{n} + c\right )}^{-\frac {1}{n} - 3}\,{d x} \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
mupad [F] time = 0.00, size = -1, normalized size = -0.01 \[ \int \frac {a+b\,x^n}{{\left (c+d\,x^n\right )}^{\frac {1}{n}+3}} \,d x \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
sympy [F(-1)] time = 0.00, size = 0, normalized size = 0.00 \[ \text {Timed out} \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________